package com.leo.utils;

import android.content.Context;
import android.widget.Toast;


/**
 * Author: Leo Liao <lliao@midtronics.com>
 * Date: 04/01/2024 14:56
 * Description:
 */
public class ToastUtils {
    /**
     * Make a toast on current window.
     * @param ctx
     * @param msg
     */
    public static void showToast(Context ctx, String msg){
        Toast.makeText(ctx, msg, Toast.LENGTH_SHORT).show();
    }
}
